package com.company.zuul;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.zuul.EnableZuulProxy;

/**
 * 启用路由时访问地址
 * http://myzuul.com:9527/microservicecloud-goods/goods/list/
 * 不用路由时访问地址
 * http://localhost:8001/goods/list/
 */
@SpringBootApplication
@EnableZuulProxy
public class Zuul9527Application {

    public static void main(String[] args) {
        SpringApplication.run(Zuul9527Application.class, args);
    }

}
